package com.tb.pojo;

import java.io.Serializable;

public class User implements Serializable {
    private Integer id;

    private String userId;

    private String userName;

    private String userPass;

    private String realName;

    private String userAddressProvince;

    private String userAddressCity;

    private String userAddressArea;

    private String userAddressStreet;

    private String userPhone;

    private Integer rolerId;

    private String userEmail;

    private String userPayPass;

    private Integer userStatus;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass == null ? null : userPass.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public String getUserAddressProvince() {
        return userAddressProvince;
    }

    public void setUserAddressProvince(String userAddressProvince) {
        this.userAddressProvince = userAddressProvince == null ? null : userAddressProvince.trim();
    }

    public String getUserAddressCity() {
        return userAddressCity;
    }

    public void setUserAddressCity(String userAddressCity) {
        this.userAddressCity = userAddressCity == null ? null : userAddressCity.trim();
    }

    public String getUserAddressArea() {
        return userAddressArea;
    }

    public void setUserAddressArea(String userAddressArea) {
        this.userAddressArea = userAddressArea == null ? null : userAddressArea.trim();
    }

    public String getUserAddressStreet() {
        return userAddressStreet;
    }

    public void setUserAddressStreet(String userAddressStreet) {
        this.userAddressStreet = userAddressStreet == null ? null : userAddressStreet.trim();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public Integer getRolerId() {
        return rolerId;
    }

    public void setRolerId(Integer rolerId) {
        this.rolerId = rolerId;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public String getUserPayPass() {
        return userPayPass;
    }

    public void setUserPayPass(String userPayPass) {
        this.userPayPass = userPayPass == null ? null : userPayPass.trim();
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", userPass='" + userPass + '\'' +
                ", realName='" + realName + '\'' +
                ", userAddressProvince='" + userAddressProvince + '\'' +
                ", userAddressCity='" + userAddressCity + '\'' +
                ", userAddressArea='" + userAddressArea + '\'' +
                ", userAddressStreet='" + userAddressStreet + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", rolerId=" + rolerId +
                ", userEmail='" + userEmail + '\'' +
                ", userPayPass='" + userPayPass + '\'' +
                ", userStatus=" + userStatus +
                '}';
    }
}